//
// Created by uranus on 2021/8/21.
//
#ifndef STRUCT_DEMO_USER_H
#define STRUCT_DEMO_USER_H
#include <cstring>
#include <iostream>
using namespace std;

typedef struct User{
    string user_name;
    string real_name;
    string gender;
    string user_id;
};
//打印
void print(User *user){
    cout<<"user_id:"<<user->user_id<<endl;
    cout<<"user_name:"<<user->user_name<<endl;
    cout<<"real_name:"<<user->real_name<<endl;
    cout<<"gender:"<<user->gender<<endl;
}

#endif //STRUCT_DEMO_USER_H
